package com.station.administrators.dao;

import com.open.capacity.common.model.ActivityModel;

import java.util.List;

/**
 * @author YangGang
 * @Title: 平台活动持久层
 * @Description: TODO
 * @date 2021/6/25/9:52
 */
public interface PlatformActivityDao {
    void add(ActivityModel activity);

    void update(ActivityModel activity);

    void delete(Long id);

    ActivityModel findById(Long id);

    List<ActivityModel> findAll(ActivityModel activity);

    Integer getCount(ActivityModel activity);
}
